home *** CD-ROM | disk | FTP | other *** search
/ Programmer Plus 2007 / Programmer-Plus-2007.iso / Programming / Report Writers / Crystal Repot 9.0 Full CD version / Setup.exe / ProgramF / CRYSTAL / CRW9 / DEV / INCLUDE / Uxfrec.h < prev    next >
Encoding:
C/C++ Source or Header  |  2002-01-29  |  1.2 KB  |  65 lines

  1.  
  2. //<HEADER_BEGIN>
  3. //================================================
  4. //File name: Uxfrec.h
  5. //Date : January, 15 2002  12:15
  6. //Copyright (c) 2002 - Crystal Decisions Corp.
  7. //================================================
  8. //<HEADER_END>
  9.  
  10. #if !defined (UXFREC_H)
  11. #define UXFREC_H
  12.  
  13. // Set 1-byte structure alignment
  14. #if !defined (MAINWIN)
  15. #if defined (__BORLANDC__)      // Borland C/C++
  16.   #pragma option -a-
  17. #elif defined (_MSC_VER)        // Microsoft Visual C++
  18.   #if _MSC_VER >= 900           // MSVC 2.x and later
  19.     #pragma pack (push)
  20.   #endif
  21.   #pragma pack (1)
  22. #endif
  23. #endif
  24.  
  25. #if defined (__cplusplus)
  26. extern "C"
  27. {
  28. #endif
  29.  
  30. #define UXFRecordType   0
  31. #define UXFRecord6Type  1
  32.  
  33. #define UXFCurVersion           0x0100
  34.  
  35. typedef struct UXFRecordStyleOptions
  36. {
  37.     WORD structSize;
  38.  
  39.     BOOL useReportNumberFormat;
  40.     BOOL useReportDateFormat;
  41. }
  42.     UXFRecordStyleOptions;
  43.  
  44. #define UXFRecordStyleOptionsSize (sizeof (UXFRecordStyleOptions))
  45.  
  46.  
  47. #if defined (__cplusplus)
  48. }
  49. #endif
  50.  
  51. // Reset structure alignment
  52. #if !defined (MAINWIN)
  53. #if defined (__BORLANDC__)
  54.   #pragma option -a.
  55. #elif defined (_MSC_VER)
  56.   #if _MSC_VER >= 900
  57.     #pragma pack (pop)
  58.   #else
  59.     #pragma pack ()
  60.   #endif
  61. #endif
  62. #endif
  63.  
  64. #endif 
  65.